
var mysql = require( 'mysql' );
var config = require( './config' );
module.exports = function() {
    var conn=mysql.createConnection(config.mysqldb );
    conn.connect();
    return conn;
}
